package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 维修任务管理对象 repair_reservation
 * 
 * @author ruoyi
 * @date 2024-09-13
 */
public class RepairReservation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号 */
    private Long id;

    /** 核销码 */
    @Excel(name = "核销码")
    private String verificationCode;

    /** 核销码图片 */
    @Excel(name = "核销码图片")
    private String verificationImg;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 维修方式 */
    @Excel(name = "维修方式")
    private String type;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reservationTime;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 取车位置 */
    @Excel(name = "取车位置")
    private String location;

    /** 车辆类型id */
    @Excel(name = "车辆类型id")
    private Long carTypeId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 整车照片（列表照片） */
    @Excel(name = "整车照片", readConverterExp = "列=表照片")
    private String vehiclePhotos;

    /** 维修部位照片（列表照片） */
    @Excel(name = "维修部位照片", readConverterExp = "列=表照片")
    private String repairPhotos;

    /** 维修状态（0 已预约、1进行中、2已完成） */
    @Excel(name = "维修状态", readConverterExp = "0=,已=预约、1进行中、2已完成")
    private Long status;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Long deleted;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long mid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVerificationCode(String verificationCode) 
    {
        this.verificationCode = verificationCode;
    }

    public String getVerificationCode() 
    {
        return verificationCode;
    }
    public void setVerificationImg(String verificationImg) 
    {
        this.verificationImg = verificationImg;
    }

    public String getVerificationImg() 
    {
        return verificationImg;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setReservationTime(Date reservationTime) 
    {
        this.reservationTime = reservationTime;
    }

    public Date getReservationTime() 
    {
        return reservationTime;
    }
    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setCarTypeId(Long carTypeId) 
    {
        this.carTypeId = carTypeId;
    }

    public Long getCarTypeId() 
    {
        return carTypeId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setVehiclePhotos(String vehiclePhotos) 
    {
        this.vehiclePhotos = vehiclePhotos;
    }

    public String getVehiclePhotos() 
    {
        return vehiclePhotos;
    }
    public void setRepairPhotos(String repairPhotos) 
    {
        this.repairPhotos = repairPhotos;
    }

    public String getRepairPhotos() 
    {
        return repairPhotos;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("verificationCode", getVerificationCode())
            .append("verificationImg", getVerificationImg())
            .append("uid", getUid())
            .append("type", getType())
            .append("name", getName())
            .append("phone", getPhone())
            .append("reservationTime", getReservationTime())
            .append("submitTime", getSubmitTime())
            .append("location", getLocation())
            .append("carTypeId", getCarTypeId())
            .append("carNum", getCarNum())
            .append("vehiclePhotos", getVehiclePhotos())
            .append("repairPhotos", getRepairPhotos())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("mid", getMid())
            .toString();
    }
}
